<!DOCTYPE html>
<html lang="zh-CN">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>乐淘</title>
    <link rel="stylesheet" href="assets/mui/css/mui.min.css">
    <link rel="stylesheet" href="css/base.css">
    <script src="./assets/artTemplate/template-web.js"></script>
    <script src="./assets/mui/js/mui.min.js"></script>
    <script src="./assets/zepto/zepto.min.js"></script>
    <script src="./js/public.js"></script>
    <script src="./js/address.js"></script>
    <style>
        #address {
            display: block;
            text-align: center;
            padding: 20px 0;
        }

        .mui-ellipsis {
            margin-top: 5px;
        }

        .mui-media-body {
            font-size: 14px;
        }
    </style>
</head>

<body>
    <!-- 头部 -->
    <header class="mui-bar mui-bar-nav my-header">
        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
        <h1 class="mui-title">收获地址列表</h1>
    </header>
    <!-- 底部导航栏 -->
    <nav class="mui-bar mui-bar-tab my-footer">
        <a class="mui-tab-item" href="index.html">
            <span class="mui-icon mui-icon-home"></span>
            <span class="mui-tab-label">首页</span>
        </a>
        <a class="mui-tab-item" href="category.html">
            <span class="mui-icon mui-icon-bars"></span>
            <span class="mui-tab-label">分类</span>
        </a>
        <a class="mui-tab-item" href="cart.html">
            <span class="mui-icon iconfont"></span>
            <span class="mui-tab-label">购物车</span>
        </a>
        <a class="mui-tab-item mui-active" href="user.html">
            <span class="mui-icon mui-icon-person"></span>
            <span class="mui-tab-label">会员中心</span>
        </a>
    </nav>
    <!-- 中心内容 -->
    <div class="mui-content">
        <a href="addAddress.html?isEdit=0" id="address">添加收获地址</a>
        <ul class="mui-table-view addInfo">

        </ul>
    </div>
    <script type="text/template" id="addTemp">
        {{each}}
            <li class="mui-table-view-cell mui-transitioning swipeLi">
                <div class="mui-slider-right mui-disabled">
                    <span data-id={{$value.id}} class="mui-btn mui-btn-blue editBtn">编辑</span>
                    <span data-id={{$value.id}} class="mui-btn mui-btn-red delBtn">删除</span>
                </div>
                <div class="mui-media-body mui-slider-handle">
                    邮编：{{$value.postCode}} 收货人：{{$value.recipients}}
                    <p class='mui-ellipsis'>{{$value.address}}{{$value.addressDetail}}</p>
                </div>
            </li>
        {{/each}}
    </script>
</body>

</html>